import { createPinia } from 'pinia'
// 导入持久化模块
import persist from 'pinia-plugin-persistedstate'

const pinia = createPinia()
// 注册持久化插件
pinia.use(persist)

export default pinia

export * from './modules/index'